
module.exports = {
  outputDir: 'dist',
  publicPath: process.env.NODE_ENV === 'development'?'/':'/weChatApp',
  assetsDir: 'static',
  productionSourceMap: false,
  lintOnSave: false,
  devServer: {
      port: 9009, // 端口号
      host: 'localhost',
      https: false, // https:{type:Boolean}
      open: true, //配置自动启动浏览器
      proxy: {
          '/api': {
              target: 'https://race-hmp.efeeyun.com/index.php?s=',
              changeOrigin: true,
              pathRewrite: {
                  '/': ''
              }
          }
      }
  }
};
